package com.changli09._enum.exer1;

public class BankTest {

}
//单例模式 ----饿汉式
class Bank {
    public Bank() {
    }
    public static final Bank instance = new Bank();
}
//饿汉式 enum实现
enum Bank1 {
    CPB;

}
